package gemini.castor.ui.client.service;

import gemini.basic.model.Event;

import java.util.List;

import com.google.gwt.user.client.rpc.AsyncCallback;

public interface EventServiceAsync {

	void getEventByDistributorCode(String code,
			AsyncCallback<List<Event>> callback);

	void saveOrUpdateEvent(Event event, AsyncCallback<Event> callback);

	void deleteEvent(int id, AsyncCallback<Void> callback);

}
